/**
 * 
 */
package com.gopay.common.domain.logging.portal;

import com.gopay.common.domain.BaseEntity;

/**
 * @MemberLog.java
 * @author Ryan
 * @2013-8-12 上午11:34:40 www.gopay.com.cn Inc.All rights reserved.
 */
public class MemberLog extends BaseEntity {

    private static final long serialVersionUID = 6372961549588041524L;

    // 时间(YYYYMMDHHMISSFFF)
    private String currDate;

    // 系统号
    private String sysId;

    // 操作行为
    private String oprInfo;

    // 邮箱
    private String email;

    // 登录ip地址
    private String ip;

    // 成功登录信息
    private String msgInfo;
    
    //操作员号
    private String oprId;
    
    //用户ID
    private String userId;
    
    //用户名
    private String userName;
    
    //模块
    private String moduleAct;
    
    //类型。10：信用卡认证失败';90:登录失败
    private String typeAct;
    
    //客户端名称
    private String userAgent;
    
    //帐号（用户ID或信用卡号）
    private String acct;
    
    
    /**
     * @return the userId
     */
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId the userId to set
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return the oprId
     */
    public String getOprId() {
        return oprId;
    }

    /**
     * @param oprId the oprId to set
     */
    public void setOprId(String oprId) {
        this.oprId = oprId;
    }

    /**
     * @return the currDate
     */
    public String getCurrDate() {
        return currDate;
    }

    /**
     * @param currDate
     *            the currDate to set
     */
    public void setCurrDate(String currDate) {
        this.currDate = currDate;
    }

    /**
     * @return the sysId
     */
    public String getSysId() {
        return sysId;
    }

    /**
     * @param sysId
     *            the sysId to set
     */
    public void setSysId(String sysId) {
        this.sysId = sysId;
    }

    /**
     * @return the oprInfo
     */
    public String getOprInfo() {
        return oprInfo;
    }

    /**
     * @param oprInfo
     *            the oprInfo to set
     */
    public void setOprInfo(String oprInfo) {
        this.oprInfo = oprInfo;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email
     *            the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the ip
     */
    public String getIp() {
        return ip;
    }

    /**
     * @param ip
     *            the ip to set
     */
    public void setIp(String ip) {
        this.ip = ip;
    }

    /**
     * @return the msgInfo
     */
    public String getMsgInfo() {
        return msgInfo;
    }

    /**
     * @param msgInfo
     *            the msgInfo to set
     */
    public void setMsgInfo(String msgInfo) {
        this.msgInfo = msgInfo;
    }

    
    
    
    public String getModuleAct() {
		return moduleAct;
	}

	public void setModuleAct(String moduleAct) {
		this.moduleAct = moduleAct;
	}

	public String getTypeAct() {
		return typeAct;
	}

	public void setTypeAct(String typeAct) {
		this.typeAct = typeAct;
	}

	public String getUserAgent() {
		return userAgent;
	}

	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}

	public String getAcct() {
		return acct;
	}

	public void setAcct(String acct) {
		this.acct = acct;
	}

	@Override
    public String toString() {
        StringBuffer sbf = new StringBuffer();
        sbf.append(this.currDate).append("|").append(this.sysId).append("|").append(this.oprInfo).append("|")
                .append(this.email).append("|").append(this.ip).append("|").append(this.msgInfo).append("|")
                .append(this.moduleAct).append("|").append(this.typeAct).append("|").append(this.userAgent)
                .append("|").append(this.acct);
        return sbf.toString();
    }

}
